package com.far.game.xiuzhen.common.utils;



import com.far.game.xiuzhen.common.impl.CommonProxy;
import com.far.game.xiuzhen.common.interf.IProxy;

import java.io.File;
import java.util.*;

public class Universe {




    public static IProxy iProxy;

    //配置属性用的JSON
    public static Map<String, List<File>> propDataFiles = new HashMap<>();
    //可执行脚本文件 lua
    public static Map<String, List<File>> scrFiles = new HashMap<>();

    //buf类型
    public static List<Map<Integer, String>> bufTypes = new ArrayList<>();


    static {

        String bufNames[] = {"眩晕",
                "冰冻",
                "隐匿",
                "禁灵",
                "灼烧",
                "禁锢",
                "虚弱",
                "破甲",
                "混乱",
                "中毒",
                "护盾",
                "疗伤",
                "物攻",
                "法攻",
                "暴击",
                "命中",
                "双抗",
                "闪避",
                "能量",
                "恢复",
                "麻痹",
                "绝闪"};

        int idx = 1;
        for( String name:bufNames ){
            Map<Integer,String> data = new HashMap<>();
            data.put(idx,name);
            idx++;
            bufTypes.add(data);
        }






    }


//    public static void test(IFeature<? extends IChar && IFight> x){
//        x.kill()
//    }

    public static void main(String[] args) {





    }



    public static void externalInitAll(){
        Universe.iProxy = new CommonProxy();
    }



}
